<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>v-text&v-html</title>
		<script src="../assets/js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<span>{{meg}}</span> = <span v-text="meg"></span><br />
			<p v-text="H2"></p>
			<p v-html="H2"></p>
		</div>
		<script>
			var app = new Vue({
				el:"#app",
				data:{
					meg:"hello world",
					H2:"<h2>hello world</h2>"
				}
			})
		</script>
	</body>
</html>
